/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.epam.expertsys.blogic;

/**
 *
 * @author Admin
 */
public class Doctor {

    private Long id;
    private String name;
    private String surname;
    private String spec;

    public Doctor(Long id, String name, String surname, String spec) {
        this.id = id;
        this.name = name;
        this.surname = surname;
        this.spec = spec;
    }

    public void setId(Long newId) {
        this.id = newId;
    }

    public Long getId() {
        return this.id;
    }

    public void setName(String newName) {
        this.name = newName;
    }

    public String getName() {
        return this.name;
    }

    public void setSurname(String newSurname) {
        this.surname = newSurname;
    }

    public String getSurname() {
        return this.surname;
    }

    public void setSpec(String newSpec) {
        this.spec = newSpec;
    }

    public String getSpec() {
        return this.spec;
    }
}
